package com.spring.demo.beans;

/**
 * Created by likuo on 2020/5/9.
 * 高仿spring AbstractBeanDefinition.java
 */
public class AbstractBeanDefinition implements BeanDefinition {
    // 类
    private volatile Object beanClass;
    // bean名称，用来.getBean()中的值
    private String beanName;
    // bean的属性值 主要用来存放  <property name="name" value="aa"></property> 这一段
    private MutablePropertyValues propertyValues;

    public Object getBeanClass() {
        return beanClass;
    }

    public void setBeanClass(Object beanClass) {
        this.beanClass = beanClass;
    }

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public MutablePropertyValues getPropertyValues() {
        return propertyValues;
    }

    public void setPropertyValues(MutablePropertyValues propertyValues) {
        this.propertyValues = propertyValues;
    }
}
